package com.binguo.model.model;

import java.util.ArrayList;
import java.util.List;

public class SideBoardExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SideBoardExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBranchIdIsNull() {
            addCriterion("branch_id is null");
            return (Criteria) this;
        }

        public Criteria andBranchIdIsNotNull() {
            addCriterion("branch_id is not null");
            return (Criteria) this;
        }

        public Criteria andBranchIdEqualTo(Integer value) {
            addCriterion("branch_id =", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotEqualTo(Integer value) {
            addCriterion("branch_id <>", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdGreaterThan(Integer value) {
            addCriterion("branch_id >", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("branch_id >=", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLessThan(Integer value) {
            addCriterion("branch_id <", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLessThanOrEqualTo(Integer value) {
            addCriterion("branch_id <=", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdIn(List<Integer> values) {
            addCriterion("branch_id in", values, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotIn(List<Integer> values) {
            addCriterion("branch_id not in", values, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdBetween(Integer value1, Integer value2) {
            addCriterion("branch_id between", value1, value2, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotBetween(Integer value1, Integer value2) {
            addCriterion("branch_id not between", value1, value2, "branchId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Boolean value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Boolean value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Boolean value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Boolean value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Boolean value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Boolean value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Boolean> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Boolean> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Boolean value1, Boolean value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Boolean value1, Boolean value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andAppidIsNull() {
            addCriterion("appid is null");
            return (Criteria) this;
        }

        public Criteria andAppidIsNotNull() {
            addCriterion("appid is not null");
            return (Criteria) this;
        }

        public Criteria andAppidEqualTo(Integer value) {
            addCriterion("appid =", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotEqualTo(Integer value) {
            addCriterion("appid <>", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidGreaterThan(Integer value) {
            addCriterion("appid >", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidGreaterThanOrEqualTo(Integer value) {
            addCriterion("appid >=", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidLessThan(Integer value) {
            addCriterion("appid <", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidLessThanOrEqualTo(Integer value) {
            addCriterion("appid <=", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidIn(List<Integer> values) {
            addCriterion("appid in", values, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotIn(List<Integer> values) {
            addCriterion("appid not in", values, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidBetween(Integer value1, Integer value2) {
            addCriterion("appid between", value1, value2, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotBetween(Integer value1, Integer value2) {
            addCriterion("appid not between", value1, value2, "appid");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("device_id is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("device_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(String value) {
            addCriterion("device_id =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(String value) {
            addCriterion("device_id <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(String value) {
            addCriterion("device_id >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
            addCriterion("device_id >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(String value) {
            addCriterion("device_id <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(String value) {
            addCriterion("device_id <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLike(String value) {
            addCriterion("device_id like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotLike(String value) {
            addCriterion("device_id not like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<String> values) {
            addCriterion("device_id in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<String> values) {
            addCriterion("device_id not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(String value1, String value2) {
            addCriterion("device_id between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(String value1, String value2) {
            addCriterion("device_id not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andShopIdIsNull() {
            addCriterion("shop_id is null");
            return (Criteria) this;
        }

        public Criteria andShopIdIsNotNull() {
            addCriterion("shop_id is not null");
            return (Criteria) this;
        }

        public Criteria andShopIdEqualTo(Integer value) {
            addCriterion("shop_id =", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotEqualTo(Integer value) {
            addCriterion("shop_id <>", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdGreaterThan(Integer value) {
            addCriterion("shop_id >", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("shop_id >=", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdLessThan(Integer value) {
            addCriterion("shop_id <", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdLessThanOrEqualTo(Integer value) {
            addCriterion("shop_id <=", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdIn(List<Integer> values) {
            addCriterion("shop_id in", values, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotIn(List<Integer> values) {
            addCriterion("shop_id not in", values, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdBetween(Integer value1, Integer value2) {
            addCriterion("shop_id between", value1, value2, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotBetween(Integer value1, Integer value2) {
            addCriterion("shop_id not between", value1, value2, "shopId");
            return (Criteria) this;
        }

        public Criteria andCashierDeskIdIsNull() {
            addCriterion("cashier_desk_id is null");
            return (Criteria) this;
        }

        public Criteria andCashierDeskIdIsNotNull() {
            addCriterion("cashier_desk_id is not null");
            return (Criteria) this;
        }

        public Criteria andCashierDeskIdEqualTo(Integer value) {
            addCriterion("cashier_desk_id =", value, "cashierDeskId");
            return (Criteria) this;
        }

        public Criteria andCashierDeskIdNotEqualTo(Integer value) {
            addCriterion("cashier_desk_id <>", value, "cashierDeskId");
            return (Criteria) this;
        }

        public Criteria andCashierDeskIdGreaterThan(Integer value) {
            addCriterion("cashier_desk_id >", value, "cashierDeskId");
            return (Criteria) this;
        }

        public Criteria andCashierDeskIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("cashier_desk_id >=", value, "cashierDeskId");
            return (Criteria) this;
        }

        public Criteria andCashierDeskIdLessThan(Integer value) {
            addCriterion("cashier_desk_id <", value, "cashierDeskId");
            return (Criteria) this;
        }

        public Criteria andCashierDeskIdLessThanOrEqualTo(Integer value) {
            addCriterion("cashier_desk_id <=", value, "cashierDeskId");
            return (Criteria) this;
        }

        public Criteria andCashierDeskIdIn(List<Integer> values) {
            addCriterion("cashier_desk_id in", values, "cashierDeskId");
            return (Criteria) this;
        }

        public Criteria andCashierDeskIdNotIn(List<Integer> values) {
            addCriterion("cashier_desk_id not in", values, "cashierDeskId");
            return (Criteria) this;
        }

        public Criteria andCashierDeskIdBetween(Integer value1, Integer value2) {
            addCriterion("cashier_desk_id between", value1, value2, "cashierDeskId");
            return (Criteria) this;
        }

        public Criteria andCashierDeskIdNotBetween(Integer value1, Integer value2) {
            addCriterion("cashier_desk_id not between", value1, value2, "cashierDeskId");
            return (Criteria) this;
        }

        public Criteria andBranchSideBoardIdIsNull() {
            addCriterion("branch_side_board_id is null");
            return (Criteria) this;
        }

        public Criteria andBranchSideBoardIdIsNotNull() {
            addCriterion("branch_side_board_id is not null");
            return (Criteria) this;
        }

        public Criteria andBranchSideBoardIdEqualTo(Integer value) {
            addCriterion("branch_side_board_id =", value, "branchSideBoardId");
            return (Criteria) this;
        }

        public Criteria andBranchSideBoardIdNotEqualTo(Integer value) {
            addCriterion("branch_side_board_id <>", value, "branchSideBoardId");
            return (Criteria) this;
        }

        public Criteria andBranchSideBoardIdGreaterThan(Integer value) {
            addCriterion("branch_side_board_id >", value, "branchSideBoardId");
            return (Criteria) this;
        }

        public Criteria andBranchSideBoardIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("branch_side_board_id >=", value, "branchSideBoardId");
            return (Criteria) this;
        }

        public Criteria andBranchSideBoardIdLessThan(Integer value) {
            addCriterion("branch_side_board_id <", value, "branchSideBoardId");
            return (Criteria) this;
        }

        public Criteria andBranchSideBoardIdLessThanOrEqualTo(Integer value) {
            addCriterion("branch_side_board_id <=", value, "branchSideBoardId");
            return (Criteria) this;
        }

        public Criteria andBranchSideBoardIdIn(List<Integer> values) {
            addCriterion("branch_side_board_id in", values, "branchSideBoardId");
            return (Criteria) this;
        }

        public Criteria andBranchSideBoardIdNotIn(List<Integer> values) {
            addCriterion("branch_side_board_id not in", values, "branchSideBoardId");
            return (Criteria) this;
        }

        public Criteria andBranchSideBoardIdBetween(Integer value1, Integer value2) {
            addCriterion("branch_side_board_id between", value1, value2, "branchSideBoardId");
            return (Criteria) this;
        }

        public Criteria andBranchSideBoardIdNotBetween(Integer value1, Integer value2) {
            addCriterion("branch_side_board_id not between", value1, value2, "branchSideBoardId");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdIsNull() {
            addCriterion("jpush_register_id is null");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdIsNotNull() {
            addCriterion("jpush_register_id is not null");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdEqualTo(String value) {
            addCriterion("jpush_register_id =", value, "jpushRegisterId");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdNotEqualTo(String value) {
            addCriterion("jpush_register_id <>", value, "jpushRegisterId");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdGreaterThan(String value) {
            addCriterion("jpush_register_id >", value, "jpushRegisterId");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdGreaterThanOrEqualTo(String value) {
            addCriterion("jpush_register_id >=", value, "jpushRegisterId");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdLessThan(String value) {
            addCriterion("jpush_register_id <", value, "jpushRegisterId");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdLessThanOrEqualTo(String value) {
            addCriterion("jpush_register_id <=", value, "jpushRegisterId");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdLike(String value) {
            addCriterion("jpush_register_id like", value, "jpushRegisterId");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdNotLike(String value) {
            addCriterion("jpush_register_id not like", value, "jpushRegisterId");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdIn(List<String> values) {
            addCriterion("jpush_register_id in", values, "jpushRegisterId");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdNotIn(List<String> values) {
            addCriterion("jpush_register_id not in", values, "jpushRegisterId");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdBetween(String value1, String value2) {
            addCriterion("jpush_register_id between", value1, value2, "jpushRegisterId");
            return (Criteria) this;
        }

        public Criteria andJpushRegisterIdNotBetween(String value1, String value2) {
            addCriterion("jpush_register_id not between", value1, value2, "jpushRegisterId");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
            addCriterion("parent_id is null");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
            addCriterion("parent_id is not null");
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(Integer value) {
            addCriterion("parent_id =", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(Integer value) {
            addCriterion("parent_id <>", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(Integer value) {
            addCriterion("parent_id >", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("parent_id >=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(Integer value) {
            addCriterion("parent_id <", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(Integer value) {
            addCriterion("parent_id <=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<Integer> values) {
            addCriterion("parent_id in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<Integer> values) {
            addCriterion("parent_id not in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(Integer value1, Integer value2) {
            addCriterion("parent_id between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(Integer value1, Integer value2) {
            addCriterion("parent_id not between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameIsNull() {
            addCriterion("side_board_name is null");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameIsNotNull() {
            addCriterion("side_board_name is not null");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameEqualTo(String value) {
            addCriterion("side_board_name =", value, "sideBoardName");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameNotEqualTo(String value) {
            addCriterion("side_board_name <>", value, "sideBoardName");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameGreaterThan(String value) {
            addCriterion("side_board_name >", value, "sideBoardName");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameGreaterThanOrEqualTo(String value) {
            addCriterion("side_board_name >=", value, "sideBoardName");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameLessThan(String value) {
            addCriterion("side_board_name <", value, "sideBoardName");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameLessThanOrEqualTo(String value) {
            addCriterion("side_board_name <=", value, "sideBoardName");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameLike(String value) {
            addCriterion("side_board_name like", value, "sideBoardName");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameNotLike(String value) {
            addCriterion("side_board_name not like", value, "sideBoardName");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameIn(List<String> values) {
            addCriterion("side_board_name in", values, "sideBoardName");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameNotIn(List<String> values) {
            addCriterion("side_board_name not in", values, "sideBoardName");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameBetween(String value1, String value2) {
            addCriterion("side_board_name between", value1, value2, "sideBoardName");
            return (Criteria) this;
        }

        public Criteria andSideBoardNameNotBetween(String value1, String value2) {
            addCriterion("side_board_name not between", value1, value2, "sideBoardName");
            return (Criteria) this;
        }

        public Criteria andIndexSortIsNull() {
            addCriterion("index_sort is null");
            return (Criteria) this;
        }

        public Criteria andIndexSortIsNotNull() {
            addCriterion("index_sort is not null");
            return (Criteria) this;
        }

        public Criteria andIndexSortEqualTo(Integer value) {
            addCriterion("index_sort =", value, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortNotEqualTo(Integer value) {
            addCriterion("index_sort <>", value, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortGreaterThan(Integer value) {
            addCriterion("index_sort >", value, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("index_sort >=", value, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortLessThan(Integer value) {
            addCriterion("index_sort <", value, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortLessThanOrEqualTo(Integer value) {
            addCriterion("index_sort <=", value, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortIn(List<Integer> values) {
            addCriterion("index_sort in", values, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortNotIn(List<Integer> values) {
            addCriterion("index_sort not in", values, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortBetween(Integer value1, Integer value2) {
            addCriterion("index_sort between", value1, value2, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortNotBetween(Integer value1, Integer value2) {
            addCriterion("index_sort not between", value1, value2, "indexSort");
            return (Criteria) this;
        }

        public Criteria andBoardTypeIsNull() {
            addCriterion("board_type is null");
            return (Criteria) this;
        }

        public Criteria andBoardTypeIsNotNull() {
            addCriterion("board_type is not null");
            return (Criteria) this;
        }

        public Criteria andBoardTypeEqualTo(Integer value) {
            addCriterion("board_type =", value, "boardType");
            return (Criteria) this;
        }

        public Criteria andBoardTypeNotEqualTo(Integer value) {
            addCriterion("board_type <>", value, "boardType");
            return (Criteria) this;
        }

        public Criteria andBoardTypeGreaterThan(Integer value) {
            addCriterion("board_type >", value, "boardType");
            return (Criteria) this;
        }

        public Criteria andBoardTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("board_type >=", value, "boardType");
            return (Criteria) this;
        }

        public Criteria andBoardTypeLessThan(Integer value) {
            addCriterion("board_type <", value, "boardType");
            return (Criteria) this;
        }

        public Criteria andBoardTypeLessThanOrEqualTo(Integer value) {
            addCriterion("board_type <=", value, "boardType");
            return (Criteria) this;
        }

        public Criteria andBoardTypeIn(List<Integer> values) {
            addCriterion("board_type in", values, "boardType");
            return (Criteria) this;
        }

        public Criteria andBoardTypeNotIn(List<Integer> values) {
            addCriterion("board_type not in", values, "boardType");
            return (Criteria) this;
        }

        public Criteria andBoardTypeBetween(Integer value1, Integer value2) {
            addCriterion("board_type between", value1, value2, "boardType");
            return (Criteria) this;
        }

        public Criteria andBoardTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("board_type not between", value1, value2, "boardType");
            return (Criteria) this;
        }

        public Criteria andBindBoardIsNull() {
            addCriterion("bind_board is null");
            return (Criteria) this;
        }

        public Criteria andBindBoardIsNotNull() {
            addCriterion("bind_board is not null");
            return (Criteria) this;
        }

        public Criteria andBindBoardEqualTo(Integer value) {
            addCriterion("bind_board =", value, "bindBoard");
            return (Criteria) this;
        }

        public Criteria andBindBoardNotEqualTo(Integer value) {
            addCriterion("bind_board <>", value, "bindBoard");
            return (Criteria) this;
        }

        public Criteria andBindBoardGreaterThan(Integer value) {
            addCriterion("bind_board >", value, "bindBoard");
            return (Criteria) this;
        }

        public Criteria andBindBoardGreaterThanOrEqualTo(Integer value) {
            addCriterion("bind_board >=", value, "bindBoard");
            return (Criteria) this;
        }

        public Criteria andBindBoardLessThan(Integer value) {
            addCriterion("bind_board <", value, "bindBoard");
            return (Criteria) this;
        }

        public Criteria andBindBoardLessThanOrEqualTo(Integer value) {
            addCriterion("bind_board <=", value, "bindBoard");
            return (Criteria) this;
        }

        public Criteria andBindBoardIn(List<Integer> values) {
            addCriterion("bind_board in", values, "bindBoard");
            return (Criteria) this;
        }

        public Criteria andBindBoardNotIn(List<Integer> values) {
            addCriterion("bind_board not in", values, "bindBoard");
            return (Criteria) this;
        }

        public Criteria andBindBoardBetween(Integer value1, Integer value2) {
            addCriterion("bind_board between", value1, value2, "bindBoard");
            return (Criteria) this;
        }

        public Criteria andBindBoardNotBetween(Integer value1, Integer value2) {
            addCriterion("bind_board not between", value1, value2, "bindBoard");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}